@import url('~@/styles/mixin.less');

.page {
    width: 100%;
    padding: 48px 24px;
    padding-bottom: 0;
    background: linear-gradient(180deg, rgba(30, 190, 173, 0.4) 0%, rgba(240, 242, 245, 0) 100%);

    .plate {
        margin-bottom: 16px;
        &_content {
            margin-bottom: 16px;
        }
        &:not(:first-child) {
            .plate_content {
                padding: 24px 32px;
                background-color: #f6fafa;
            }
        }
    }
}

.plate {
    padding: 32px;
    overflow: hidden;
    background: url('~@/static/trainPlan/content_bg_yellow.png') no-repeat;
    background-color: #fff !important;
    background-position: left top !important;
    background-size: 167px 87px !important;
    border-radius: 16px !important;

    &:not(:first-child) {
        background: url('~@/static/trainPlan/content_bg_green.png') no-repeat;
    }

    &_header {
        margin-bottom: 40px;
        color: #333;
        font-weight: bold;
        font-size: 36px;
        line-height: 50px;
        .ellipsis();
    }

    &_content {
        &_field:not(:last-child) {
            margin-bottom: 24px;
        }

        &_field {
            color: #999;
            font-weight: 400;
            font-size: 32px;
            line-height: 45px;
            .flex(space-between, flex-start);

            label {
                width: 204px;
            }
            span {
                display: block;
                width: calc(100% - 204px);
                color: #333;
            }
        }
    }
}

.footerWrap {
    width: 100vw;
    &::after {
        display: block;
        width: 100%;
        height: calc(98px + (24px * 2));
        content: '';
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    font-size: 36px;
    line-height: 50px;
    background-color: #fff;
    border-top: solid 1px #e5e5e5;
    .flex(space-between, center);

    &_reject {
        width: 286px;
        height: 98px;
        color: #333;
        background-color: #fff;
        border: 2px solid #ddd;
        border-radius: 8px;
        .flex(center, center);
    }

    &_approve {
        width: 400px;
        height: 98px;
        color: #fff;
        background-color: #1ebead;
        border-radius: 8px;
        .flex(center, center);
    }
}
